package com.hualan.entity;

import java.time.LocalDateTime;

public class ShangPin {
    private Integer goodsId;//商品id
    private String goodsName;//商品名字
    private Integer goodsSalesVolume;//商品销量
    private String goodsShopName;//商店名称
    private Double goodsPresentPrice;//商品预估价
    private LocalDateTime addTime;//添加时间
    private Integer goodsStatus;//商品状态
    private String goodsUnit;//单位
    private String goodsImage;//商品照片

    public ShangPin(){}

    public ShangPin(Integer goodsId, String goodsName, Integer goodsSalesVoluge, String goodShopName, Double goodsPresentPrice, LocalDateTime addTime, Integer goodsStatus, String goodsUnit, String goodsImage) {
        this.goodsId = goodsId;
        this.goodsName = goodsName;
        this.goodsSalesVolume = goodsSalesVoluge;
        this.goodsShopName = goodsShopName;
        this.goodsPresentPrice = goodsPresentPrice;
        this.addTime = addTime;
        this.goodsStatus = goodsStatus;
        this.goodsUnit = goodsUnit;
        this.goodsImage = goodsImage;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public Integer getGoodsSalesVolume() {
        return goodsSalesVolume;
    }

    public void setGoodsSalesVolume(Integer goodsSalesVolume) {
        this.goodsSalesVolume = goodsSalesVolume;
    }

    public String getGoodShopName() {
        return goodsShopName;
    }

    public void setGoodsShopName(String goodsShopName) {
        this.goodsShopName = goodsShopName;
    }

    public Double getGoodsPresentPrice() {
        return goodsPresentPrice;
    }

    public void setGoodsPresentPrice(Double goodsPresentPrice) {
        this.goodsPresentPrice = goodsPresentPrice;
    }

    public LocalDateTime getAddTime() {
        return addTime;
    }

    public void setAddTime(LocalDateTime addTime) {
        this.addTime = addTime;
    }

    public Integer getGoodsStatus() {
        return goodsStatus;
    }

    public void setGoodsStatus(Integer goodsStatus) {
        this.goodsStatus = goodsStatus;
    }

    public String getGoodsUnit() {
        return goodsUnit;
    }

    public void setGoodsUnit(String goodsUnit) {
        this.goodsUnit = goodsUnit;
    }

    public String getGoodsImage() {
        return goodsImage;
    }

    public void setGoodsImage(String goodsImage) {
        this.goodsImage = goodsImage;
    }
}
